package com.xn2001.mybatis.mapper;

import com.xn2001.mybatis.entity.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by 乐心湖 on 2020/3/7 20:32
 */
@Mapper
public interface StudentDao {
    List<Student> findAll();
    Student findById(int id);
    void save(Student student);
    void update(Student student);
    void delete(int id);
    List<Student> findOne(Student student);
}
